]> dgit.raspbian.org Git - pandas.git/commit
On mips, 1**np.nan and np.nan**0 may be NaN not 1
authorDebian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
Wed, 16 Sep 2026 19:30:23 +0000 (20:30 +0100)
committerRebecca N. Palmer <rebecca_palmer@zoho.com>
Wed, 16 Sep 2026 19:30:23 +0000 (20:30 +0100)
commitd350ad9c572a28c6668942ab5e6375b82f7ca06a
tree7dbb6dc978ef7ff9518529276e096d32b2780251
parent0cdfb6cb3efa283d5e805eb008a7b0ea72e038b0
On mips, 1**np.nan and np.nan**0 may be NaN not 1

Done this way not a plain xfail to allow only this difference,
not clearly wrong answers

(The same hardware's "invalid value encountered" warnings,
probably from sNaN/qNaN being reversed, are ignored elsewhere:
d/rules and xfail_tests_nonintel_io.patch)

https://en.wikipedia.org/wiki/NaN#Encoding

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no

Gbp-Pq: Name mips_pow_nan.patch
pandas/tests/arrays/floating/test_arithmetic.py
pandas/tests/arrays/sparse/test_arithmetics.py